package com.yuzhenxin.coursesystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuzhenxin.coursesystem.controller.course.vo.CourseQueryReqVO;
import com.yuzhenxin.coursesystem.entity.CourseDO;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;
import java.util.Map;

public interface CourseService extends IService<CourseDO> {

    IPage<CourseDO> selectPage(CourseQueryReqVO reqDto);

    List<Map<String, Object>> selectCourseGroupByCredit();

    void exportData(HttpServletResponse response);

}
